<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
	<title>Welcome to login SSO</title>
</head>

<body>
	<div id="loginPage" class="login-container">
  		<span class="logo"></span>
		<div class="login-content">
			<h1>Login to SSO</h1>
			<#if error?exists>
				<#if error == 1>
		  			<div id="errorMessage">用户名或密码错误</div>
		  		<#elseif error == 2>
		  			<div id="errorMessage">用户名已被禁用，不能登录系统</div>
		  		<#elseif error == 3>
		  			<div id="errorMessage">您是会员用户，不能登录后台系统</div>
		  		</#if>
  			</#if>
  			
  			<form class="loginForm" method="post">
    				<table class="loginCredentials">
		            <tr class="formField">
		              	<th><label for="username">用户名:</label></th>
		              	<td><input class="text" id="username" type="text" name="username"></td>
		            </tr>
		          	<tr class="formField">
		              	<th><label for="password">密码:</label></th>
		            	<td><input class="text" id="password" type="password" name="password"></td>
		          	</tr>
      				<tr>
        				<th>&nbsp;</th>
        				<td>
							<input type="checkbox" name="rememberMe" id="remember" class="checkbox">
          					<label class="rememberMe" for="remember">Remember me</label>
        				</td>
      				</tr>
		          	<tr>
		            <th><i id="saving" style="display: none; " class="icon-refresh icon-spin progressRing progressRingSubmitBlock" title="Please wait..."></i></th>
			            <td>
			              	<noscript>
			                	<div class="noJavaScriptEnabledMessage">
			                  		Please enable JavaScript in your browser to proceed with login.
			                	</div>
			              	</noscript>
			              	<div id="noCookiesEnabledMessage" class="noCookiesEnabledMessage" style="display: none;">
			                	Please enable cookies in your browser to proceed with login.
			              	</div>
			              	<input class="btn loginButton" type="submit" name="submitLogin" value="Login">
			            </td>
		          	</tr>
				</table>
				<input type="hidden" id="publicKey" name="publicKey" value=""/>
  			</form>
    
      		<p class="register">
      			<span class="version">
    				<a href="#">Register a new user account</a>
    			</span>
      		</p>
		</div>
	</div>
</body>
</html>